import config from '../../utils/config';

export default function liquidityRiskAPI(api) {
  return {
    // 获取无冲击变现天数持仓分布
    getTableDataOne: (query) => api.get(`${config.interfaces.type3}liquidityrisk/assetRealizationDaysCount/`, query),

    // 流动性明细
    getTableDataTwo: (query) => api.get(`${config.interfaces.type3}liquidityrisk/assetRealizationDetail/`, query),

    // 七日累计变现比例
    getEchartsData: (query) => api.get(`${config.interfaces.type3}liquidityrisk/assetRealizationRatioTrends/`, query),
  };
}
